home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / virus / diskse24.zip / DS2REMOV.BAT < prev    next >
DOS Batch File  |  1993-09-04  |  1KB  |  33 lines

  1. @echo off
  2. echo off
  3. if not exist config.ds goto nogood
  4. if not exist autoexec.ds goto nogood
  5. if not exist disksec2.exe goto nogood
  6. echo DiskSecure II removal routine requested
  7. echo.
  8. echo This procedure will remove DiskSecure2 from the PC
  9. echo However, it will leave the C:\DS2 directory with some
  10. echo files. These may be deleted if desired.
  11. echo.
  12. echo WARNING - AUTOEXEC.BAT and CONFIG.SYS files will be returned to
  13. echo condition found when DiskSecure was first installed.
  14. echo.
  15. echo enter Ctrl-C to exit without removing.
  16. echo.
  17. pause
  18. if exist c:\ds2move.sys del c:\ds2move.sys >nul
  19. if exist c:\ds2chk.sys  del c:\ds2chk.exe >nul
  20. copy config.ds c:\config.sys >nul
  21. copy autoexec.ds c:\autoexec.bat >nul
  22. disksec2.exe
  23. goto endit
  24. :nogood
  25. echo.
  26. echo DiskSecure batch removal can only be requested while in the
  27. echo same directory as CONFIG.DS, AUTOEXEC.DS, and DISKSEC2.EXE.
  28. echo This is usually the C:\DS2 directory.
  29. echo.
  30. echo If changes were not made to AUTOEXEC.BAT and CONFIG.SYS, removal
  31. echo may be accomplished with DISKSEC2.EXE alone.
  32. echo.
  33. :endit